import Request from '../common/js/request'

// 操作日志接口
class OperationLogService {
  /**
   * 根据关键字查询操作日志列表
   * @param keyword 关键字
   * @param pageNum 当前页数
   * @param pageSize 每页条数
   */
  static getOperationLogListByKeyword(keyword, pageNum, pageSize) {
    const url = '/api-log/operationLog/getOperationLogListByKeyword'

    const data = {
      keyword,
      pageNum,
      pageSize
    }

    return Request.get(url, data)
  }
}

export default OperationLogService
